<%@ page contentType="text/html;charset=UTF-8" language="java" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<nav class="navbar navbar-default navbar-static-top navbar-inverse" style="margin-bottom: 0px;">
	<div class="container">
		<p class="navbar-text">欢迎致电：400-628-1176</p>
		<p class="navbar-text">服务时间：9:00 - 21:00</p>
		<div class="navbar-right">
			<ul class="nav navbar-nav">
				<security:authorize access="isAuthenticated()">
				<li><a href="<s:url value="/user/index"/>"><security:authentication property="principal.username"/></a></li>
				<li><a href="">退出</a></li>
				</security:authorize>
				<security:authorize access="!isAuthenticated()">
				<li><a href="<s:url value="/auth/login"/>">登录</a></li>
				<li><a href="<s:url value="/auth/register"/>">注册</a></li>
				</security:authorize>
			</ul>
		</div>
	</div>
</nav>
<nav class="navbar navbar-default navbar-static-top">
	<div class="container">
		<div class="navbar-header" >
			<a class="navbar-brand" href="#" style="padding-top: 5px;padding-bottom: 5px;">
				<img alt="dsadsa" src="<s:url value="/images/index5.jpg"/>" height="40">
			</a>
		</div>
		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav">
				<li><a href="<s:url value="/index"/>">首页</a></li>
				<li><a href="<s:url value="/borrow/index"/>">投标</a></li>
				<li><a href="<s:url value="/borrowApply/index"/>">借款</a></li>
				<li><a href="<s:url value="/index"/>">关于我们</a></li>
			</ul>
			<div class="navbar-right">
				<ul class="nav navbar-nav">
					<li><a href="<s:url value="/user/index"/>">我的账户</a></li>
				</ul>
			</div>
		</div>
	</div>
</nav>
<%-- <div class="fn400">
    <b class="b400_1"> <span class="b_1">400-118-7690</span> <span
            class="b_2">公众号：withFeiniao</span> <span class="b_3" id="contact"
                                                     title="dsadsa">飞鸟金融官方群</span>
    </b> <b class="b400_2">
    	<security:authorize access="hasAnyRole('ROLE_USER')" var="isAuthenticated"></security:authorize>
    	<c:choose>
    		<c:when test="${isAuthenticated}">
    		<span>欢迎您，<security:authentication property="principal.username"/></span>
    		<a href="javascript:void(0);" id="logoutButton">[退出]</a>
    		</c:when>
    		<c:otherwise>
    		<a href="<c:url value="/auth/register"/>">注册</a>|
    		<a href="<c:url value="/auth/login"/>">登录</a>
    		</c:otherwise>
    	</c:choose>
    </b>
</div>
<div class="banner">
			<span><a href="/"><img src="/assets/fnp2p/images/index5.jpg" width="194" height="55"></a></span>
    <b id="topNav">
        <a href="<c:url value="/index"/>" class="banner_hover">首页</a>
        <a href="<c:url value="/borrow/index"/>">我要投资</a>
        <a href="<c:url value="/borrowApply/index"/>">我要借款</a>
        <a href="<c:url value="/user/index"/>">我的账户</a>
        <a href="/introduce/about.html">信息披露</a> <!--<a href="/introduce/about.html">信息披露</a>-->
        <a href="/introduce/help/cursel/4.html">新手指南</a>
    </b>
</div>
<form:form id="logoutForm" servletRelativeAction="/auth/logout.html">
</form:form>
<script type="text/javascript">
	$("#logoutButton").click(function(){
		$("#logoutForm").submit();
	});
</script> --%>
